<?php
$filename = "static/pdk_tingkat.htm";
$fp = fopen($filename, "r");

$content = fread($fp, filesize($filename));
//$lines = explode("\n", $content);
$content = str_replace("\r\n", '', $content);
fclose($fp);
//print_r($lines);
?>
<script>
var json1 = JSON.parse('<?= $content ?>');
</script>